package com.ttbj.order.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.ttbj.order.bean.po.WayBill;

public interface WaybillMapper {
	
	/**
	 * 批量增
	 * @param wayBills
	 * @return
	 */
	public int insertWaybillInfo(List<WayBill> wayBills);
	
	/**
	 * 退款单中审核通过（退款成功）或者审核未通过后更新订单的isDel
	 * @param wayBillIsDel 是否删除：0删除，1未删除
	 * @param wayBillOrder 订单id
	 */
	public void updateWayBillIsDel(@Param("wayBillIsDel") Integer wayBillIsDel, @Param("wayBillOrder") Long wayBillOrder);
}
